var foo=(function coolmodule(id){
    function change(){
        publicAPI.identify=identify2;
    }
    function identify1(){
        console.log(id);
    }
    function identify2(){
        console.log(id.toUpperCase())
    }
    var publicAPI={
        change:change,
        identify:identify1
    };
    return publicAPI;
})('fool module');
foo.identify();
foo.change();
foo.identify();